//
//  TryAgainView.h
//  HousingPoliceAssistant
//
//  Created by 云警01 on 2019/6/6.
//  Copyright © 2019 盛洋. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol TryAgainViewDelegate<NSObject>
@optional
//点击屏幕
- (void)ScreenBtnClicked;
@end
@interface TryAgainView : UIView

@property (weak, nonatomic) IBOutlet UIButton *scrBtn;
@property (weak, nonatomic) IBOutlet UILabel *infoTxt;
@property (weak,nonatomic) IBOutlet UIImageView *loading;


@property (nonatomic, assign) id<TryAgainViewDelegate> delegate;
/**
 *  加载状态
 */
-(void)loadingStart;
/**
 *  加载错误，重试状态 按钮开启
 */
-(void)loadingError;
/**
 *  加载完成，自我隐藏
 */
-(void)loadingFinished;
@end
